package com.vogue.supplymall.common.constant;

/**
 * The enum Pull state enum.
 * 订单拉取状态的枚举类
 *
 * @author zhangliang Create in 2018-09-20
 */
public enum PullStateEnum {
    /**
     * No pull state enum.
     */
    NO(0, "否"),
    /**
     * Yes pull state enum.
     */
    YES(1, "是"),
    /**
     * Undo pull state enum.
     */
    UNDO(2, "撤销");

    private int code;
    private String name;

    PullStateEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    /**
     * Gets code.
     *
     * @return the code
     */
    public int getCode() {
        return code;
    }

    /**
     * Sets code.
     *
     * @param code the code
     */
    public void setCode(int code) {
        this.code = code;
    }

    /**
     * Gets name.
     *
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * Sets name.
     *
     * @param name the name
     */
    public void setName(String name) {
        this.name = name;
    }
}
